package cz.ctu.guiproject.client.resources.constants;

public class Constants {

	private Constants() {
	}

	// String constants
	public static final String SERVER_INIT_RESPONSE = "init-response";
	public static final String SERVER_DISCONNECT_RESPONSE = "disconnect-response";
	public static final String SERVER_DISCONNECT_REQUEST = "disconnect-request";
	public static final String SERVER_UI_RESPONSE = "ui-response";
	public static final String SERVER_FORCE_UI_UPDATE = "force-ui-update";
	public static final String SERVER_INIT_REQUEST = "init-request";
	public static final String SERVER_PROPAGATE_UI_UPDATE = "propagate-ui-update";
	public static final String DEVICE_NAME = "device-name";
	public static final String INSTALLED_COMPONENTS = "installed-components";
	public static final String RESPONSE_STATE = "accepted";
	public static final String ACCEPTED = "true";
	public static final String JAR_URLS = "required-jars";
	public static final String SERVER_UI_REQUEST = "ui-request";
	public static final String JAR_EXT = ".jar";
	public static final String CLASS_EXT = ".class";
	public static final String JAVA_EXT = ".java";
	public static final String DEX = "dex";
	public static final String ID = "id";
	public static final String SERVER_EVENT_ID = "eventId";
	public static final String SERVER_EVENT_KEYS = "keys";
	public static final String SERVER_EVENT_VALUES = "values";
	public static final String SERVER_EVENT_OCCURED = "event-occured";
	public static final String SERVER_VIEW_ID = "viewId";
	public static final String SERVER_ATTR_NAME = "attribute-name";
	public static final String SERVER_ATTR_VALUE = "attribute-value";
	public static final String COMPONENTS_PATH = "components.xml";
	public static final String SERVER_INSTALLED_COMPONENTS = "installed-components";
	public static final String SERVER_INSTALLED_COMPONENT = "installed-component";
	public static final String SERVER_INSTALLED_COMPONENT_NAME = "name";
	public static final String SERVER_INSTALLED_COMPONENT_VERSION = "version";
	public static final String NULL_VALUE_MESSAGE = "Value must not be null!";
	public static final String INVALID_IPV4_MESSAGE = "Invalid IPv4 value!";
	public static final String SAVED_CONFIG = "config";
	public static final String SERVER_IP = "server-ip";
	public static final String SERVER_PORT = "server-port";
	public static final String CONFIG_FILE = "config.xml";
	public static final String CONNECTION_STATE = "connection-state";
	public static final String CONNECT_LABEL = "Connect";
	public static final String DISCONNECT_LABEL = "Disconnect";
	public static final String ACTIVITY_ELEMENT = "Activity";
	// Error messages
	public static final String SAX_PREMATURE_END = "Sufficient data received.";
	public static final String UNSUPPORTED_CONNECTION_STATE = "Unsupported connection state.";
	// charset
	public static final String UTF_8 = "UTF-8";
	// integer values
	public static final int BUFFER_SIZE = 1024;
	// char constants
	public static final char FORWARD_SLASH = '/';
	public static final char DOT = '.';
	public static final char COMMA = ',';
}
